package com.jiuyin.dianjing.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 游戏列表详情
 */
public class MatchGameItemModel implements Parcelable {
    public static final Creator<MatchGameItemModel> CREATOR = new Creator<MatchGameItemModel>() {
        @Override
        public MatchGameItemModel createFromParcel(Parcel in) {
            return new MatchGameItemModel(in);
        }

        @Override
        public MatchGameItemModel[] newArray(int size) {
            return new MatchGameItemModel[size];
        }
    };
    //gameId
    String gameId;
    //标题
    String name;
    //游戏图片地址
    String logo;

    public MatchGameItemModel() {

    }


    protected MatchGameItemModel(Parcel in) {
        gameId = in.readString();
        name = in.readString();
        logo = in.readString();
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(gameId);
        dest.writeString(name);
        dest.writeString(logo);
    }
}
